/*
 * BOSS奖励结算
 * @author 娜娜
 */
var status = -1;

function action(mode, type, selection) {
    status++;

    switch (cm.getMapId()) {
        case 800024500: // 01
            var i = -1;
			cm.gainNX(1,10000);
            cm.dispose();
			cm.openNpc(9900003, "Spring");
			//cm.sendOk("恭喜你击败了天狗,获得以下战利品:");
            break;
        case 807100000: // 02
            break;
        default:
            cm.dispose();
    }
}